﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace HYBYSoft.Company.Models
{
    public class QuestionAndReplyMessages
    {
        [Display(Name="问题ID")]
        public int QuestionID
        { get; set; }

        [Display(Name="内容")]
        public string Titles
        { get; set; }

        [Display(Name="创建时间")]
        public DateTime CreateTime
        { get; set; }

        [Display(Name="最后回复时间")]
        public DateTime LastReplyTime
        { get; set; }

        [Display(Name="状态")]
        public int State
        { get; set; }

        [Display(Name="是否已经回复")]
        public int IsReply
        { get; set; }

        [Display(Name="回复信息")]
        public IEnumerable<ReplyMessage> ReplyMessages
        { get; set; }

    }
}
